<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>盘点</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link href="../../dep/mui/css/mui.css" rel="stylesheet" />
		<link href="../../css/style.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/page/newOrder/newCheckStock.css" />
		<script type="text/html" id="checkList">
			{{each items}}
			<li class="mui-table-view-cell check-good-item" id="{{$value.id}}">
				<div class="product-info mui-row">
					<p class="mui-col-sm-12 mui-col-xs-12">
						<span>{{$value.goodsName}}</span>-<span>{{$value.specValue}}</span>
					</p>
					<p class="mui-col-sm-6 mui-col-xs-6">
						库存：<span id="whNumber">{{$value.whNumber}}</span>{{$value.unit}}
					</p>
					<p class="mui-col-sm-6 mui-col-xs-6">
						盘盈：<span id="item-goods-profit">{{$value.checkOverageNumber}}</span>{{$value.unit}}
					</p>
					<p class="mui-col-sm-3 mui-col-xs-3">
						盘点数量：
					</p>
					<p class="mui-col-sm-3 mui-col-xs-3">
						<input type="number" id="checkNumber" name="checkNumber" value="{{$value.checkNumber}}" />
					</p>
					<p class="mui-col-sm-6 mui-col-xs-6">
						盘亏：<span id="item-goods-loss">{{$value.checkLossNumber}}</span>{{$value.unit}}
					</p>
				</div>
			</li>
			{{/each}}
		</script>
	</head>

	<body>
		<header id="header" class="mui-bar mui-bar-nav header-lay">
			<h1 class="mui-title">盘点</h1>
			<button class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left" style="">
		    	<span class="mui-icon mui-icon-left-nav"></span>返回</button>
			<!--<button class="mui-btn mui-btn-blue mui-btn-link mui-pull-right"></button>-->
		</header>
		<div class="mui-content" id="mui-content">
			<div class="product-number mui-row">
				<p class="mui-col-sm-6 mui-col-xs-6">
					共计<span id="goodsCount">0</span>项产品
				</p>
				<p class="mui-col-sm-6 mui-col-xs-6">
					盘盈：<span id="inventoryProfit">0</span> 盘亏：
					<span id="inventoryLoss">0</span>
				</p>
			</div>
			<ul class="mui-table-view add-mg" id="check-goods-items">
				
			</ul>
		</div>
		<div class="mui-button-row" id="check-btn">
			<button type="button" class="mui-btn mui-btn-warning " id="DraftCheck">临时保存</button>
			<button type="button" class="mui-btn mui-btn-primary btn-hide" id="FinishCheck">完成盘点</button>
		</div>
	</body>

</html>
<script src="../../dep/seajs/3.0.0/sea.js"></script>
<script src="../../js/seajs_config.js"></script>
<script>
	seajs.use(["../../js/checkList/checkInput"])
</script>